const tabInspection = {
  state: {
    tabsCurrentName: '',
    tabsCurrent: '',
    isFromHome2Work: false,
    orderType:''
  },
  mutations: {
    SET_TABSCURRENT: (state, tabsCurrent) => {
      state.tabsCurrent = tabsCurrent
    },
    SET_TABSCURRENTNAME: (state, tabsCurrentName) => {
      state.tabsCurrentName = tabsCurrentName
    },
    SET_ISFROMHOME2WORK: (state, isFromHome2Work) => {
      state.isFromHome2Work = isFromHome2Work
    },
    SET_ORDERTYPE: (state, orderType) => {
      state.orderType = orderType
    },
  },
}

export default tabInspection
